<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;

Yii::app()->clientScript->registerScript(
   'myHideEffect',
   '$(".flash-success").animate({opacity: 1.0}, 2000).fadeOut("slow");',
   CClientScript::POS_READY
);

?>

<?php 

/// FLASH SUCCESS MESSAGE BOX
if(Yii::app()->user->hasFlash('success')):?>
		<center>
    <div class="flash-success" style="width:500px;">
        <center>
		<?php 
		echo Yii::app()->user->getFlash('success');
		echo " ";
		echo CHtml::image(Yii::app()->theme->baseUrl.'/images/checked.png', 
							  '',
							  array(
									'style'=>'width:35px;margin-bottom:-8px;'
									)
							  );	
		
		?>
		</center>
    </div>
		</center>
	
<?php 
endif; 
?>

<center>
<h1>Welcome to the <i><?php echo CHtml::encode(Yii::app()->name); ?></i> Tool</h1>
<img src='<?php echo Yii::app()->theme->baseUrl; ?>/images/CiscoLogo_White-Black.jpg' style="margin-top:100px;">

